import {Base} from "../../../utils/base.js";

class Index extends Base{
  constructor(){
    super()
  }

 
  // 获取分类下的课程
  getCategoryToCourse(success,fail){
    this.request({
      url: '/category_to_course',
      success: function (res) {
        success&&success(res.data);
      }
    });
  }

}

export {Index}